package com.sanhe.rfmuscle.activity;

import com.finddreams.languagelib.MultiLanguageUtil;
import com.plata.base.base.AbsBaseActivity;
import com.plata.base.utils.WeakHandler;

public class BaseActivity extends AbsBaseActivity {
    WeakHandler h = new WeakHandler();

    protected final int getDefaultLan() {
        int savedLanguageType = MultiLanguageUtil.getInstance().getLanguageType(this);
        return savedLanguageType;
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        h.removeCallbacksAndMessages(null);
    }
}
